package com.newcapec.bean;


/**
 * @Description:新闻实体类
 * @Author:yangshupeng
 * @Date: 2022/3/13 14:05
 * @Version:1.0
 */
public class NewsEntity {
    private int id;
    private String title;
    private String descr;
    private int chnlcode;
    private String mainImg;
    private String detail;
    private String keyword;
    private String source;
    private int top;
    private int state;
    private String optor;
    private String crtime;
    private String uptime;
    public NewsEntity(){

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public int getChnlcode() {
        return chnlcode;
    }

    public void setChnlcode(int chnlcode) {
        this.chnlcode = chnlcode;
    }

    public String getMainImg() {
        return mainImg;
    }

    public void setMainImg(String mainImg) {
        this.mainImg = mainImg;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public int getTop() {
        return top;
    }

    public void setTop(int top) {
        this.top = top;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getOptor() {
        return optor;
    }

    public void setOptor(String optor) {
        this.optor = optor;
    }

    public String getCrtime() {
        return crtime;
    }

    public void setCrtime(String crtime) {
        this.crtime = crtime;
    }

    public String getUptime() {
        return uptime;
    }

    public void setUptime(String uptime) {
        this.uptime = uptime;
    }

    @Override
    public String toString() {
        return "NewsEntity{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", descr='" + descr + '\'' +
                ", chnlcode=" + chnlcode +
                ", mainImg='" + mainImg + '\'' +
                ", detail='" + detail + '\'' +
                ", keyword='" + keyword + '\'' +
                ", source='" + source + '\'' +
                ", top=" + top +
                ", state=" + state +
                ", optor='" + optor + '\'' +
                ", crtime='" + crtime + '\'' +
                ", uptime='" + uptime + '\'' +
                '}';
    }
}
